package com.company._360;

public class Test {
    public static void main(String[] args) {
        System.out.println(func(7));
    }

    private static int func(int n){
        if(n < 2){
            return n;
        }
        return func(n - 1) + func( n -2);
    }
}
